package com.fang.networkdisk.config;

import com.fang.common.exception.GlobalExceptionHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Bernie_fang
 * @Description:
 * @create 2025/2/1 16:55
 **/
@Configuration
public class ExceptionHandlerConfig {

    @Bean
    public GlobalExceptionHandler globalExceptionHandler() {
        return new GlobalExceptionHandler();
    }

}
